-- GENERATED SPELL FOR [Murgot Deepforge] --


function spell0_13257(pUnit, Event) --@Polished Armor,n/a--
pUnit:FullCastSpellOnTarget(21163,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13257', 554, 1)
end

function Sorts_13257(pUnit, Event)
local choix_sorts_13257 = math.random(0, 0)
if choix_sorts_13257 == 0 then
pUnit:RegisterEvent('spell0_13257', 1, 1)
end
end

function mob13257_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_13257', math.random(1500, 3000), 1)
end

function mob13257_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13257_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13257_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(13257, 1, 'mob13257_Action')
RegisterUnitEvent(13257, 2, 'mob13257_Leave')
RegisterUnitEvent(13257, 3, 'mob13257_Kill')
RegisterUnitEvent(13257, 4, 'mob13257_Die')
